//---------------------------------------------------------------------------------
// Copyright (c) 2008 David Vescovi.  All rights reserved.
//
// Exercise the notification LED via OpenNETCF API 
//
//---------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using OpenNETCF.WindowsCE.Notification;

namespace Notification_LED_test
{
    class Program
    {
        static void Main(string[] args)
        {
            int ledCount;

            Led led = new Led();
            ledCount = led.Count;
            led.SetLedStatus(0, Led.LedState.On);
            led.SetLedStatus(0, Led.LedState.Off);
            led.SetLedStatus(0, Led.LedState.Blink);
            System.Threading.Thread.Sleep(5000);
            led.SetLedStatus(0, Led.LedState.Off);
        }
    }
}
